package org.gap.service;

import java.util.List;
import java.util.Set;

import org.gap.domain.Relations;
import org.gap.domain.RelationsTiers;
import org.gap.domain.Tiers;

/**
 * Spring service that handles CRUD requests for RelationsTiers entities
 * 
 */
public interface RelationsTiersService {

	/**
	 */
	public RelationsTiers findRelationsTiersByPrimaryKey(Integer rltTiersParent, Integer rltTiersFils, String rltRelation);

	/**
	 * Save an existing Tiers entity
	 * 
	 */
	public RelationsTiers saveRelationsTiersTiersByRltTiersFils(Integer rltTiersParent_1, Integer rltTiersFils_1, String rltRelation_1, Tiers related_tiersbyrlttiersfils);

	/**
	 * Delete an existing Tiers entity
	 * 
	 */
	public RelationsTiers deleteRelationsTiersTiersByRltTiersParent(Integer relationstiers_rltTiersParent, Integer relationstiers_rltTiersFils, String relationstiers_rltRelation, Integer related_tiersbyrlttiersparent_tieTiers);

	/**
	 * Save an existing Tiers entity
	 * 
	 */
	public RelationsTiers saveRelationsTiersTiersByRltTiersParent(Integer rltTiersParent_2, Integer rltTiersFils_2, String rltRelation_2, Tiers related_tiersbyrlttiersparent);

	/**
	 * Delete an existing RelationsTiers entity
	 * 
	 */
	public void deleteRelationsTiers(RelationsTiers relationstiers);

	/**
	 * Return a count of all RelationsTiers entity
	 * 
	 */
	public Integer countRelationsTierss();

	/**
	 * Save an existing RelationsTiers entity
	 * 
	 */
	public void saveRelationsTiers(RelationsTiers relationstiers_1);

	/**
	 * Load an existing RelationsTiers entity
	 * 
	 */
	public Set<RelationsTiers> loadRelationsTierss();

	/**
	 * Save an existing Relations entity
	 * 
	 */
	public RelationsTiers saveRelationsTiersRelations(Integer rltTiersParent_3, Integer rltTiersFils_3, String rltRelation_3, Relations related_relations);

	/**
	 * Delete an existing Tiers entity
	 * 
	 */
	public RelationsTiers deleteRelationsTiersTiersByRltTiersFils(Integer relationstiers_rltTiersParent_1, Integer relationstiers_rltTiersFils_1, String relationstiers_rltRelation_1, Integer related_tiersbyrlttiersfils_tieTiers);

	/**
	 * Return all RelationsTiers entity
	 * 
	 */
	public List<RelationsTiers> findAllRelationsTierss(Integer startResult, Integer maxRows);

	/**
	 * Delete an existing Relations entity
	 * 
	 */
	public RelationsTiers deleteRelationsTiersRelations(Integer relationstiers_rltTiersParent_2, Integer relationstiers_rltTiersFils_2, String relationstiers_rltRelation_2, String related_relations_relRelation);
}